package com.xxx.yuedong.community.controller.form;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author HG
 * @version 1.0
 **/
@Data
public class InsertAnnounceForm {
    /**
     * 公告标题
     */
    @NotBlank(message = "标题不能为空")
    private String title;
    /**
     * 公告内容
     */
    @NotBlank(message = "内容不能为空")
    private String content;
}
